home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / latexsty3 / ROTATE / sty
LaTeX Document  |  1990-01-16  |  4.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document, ASCII text, with CRLF line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[CRLF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 52 6f 74 61 74 69 | 6f 6e 20 6f 66 20 54 65 |% Rotati|on of Te|
|00000010| 58 20 6f 75 74 70 75 74 | 20 77 69 74 68 20 54 65 |X output| with Te|
|00000020| 58 74 75 72 65 73 20 28 | 61 6e 64 20 6d 61 79 62 |Xtures (|and mayb|
|00000030| 65 3f 20 6f 74 68 65 72 | 20 50 6f 73 74 53 63 72 |e? other| PostScr|
|00000040| 69 70 74 20 64 72 69 76 | 65 72 73 29 0d 0a 0d 0a |ipt driv|ers)....|
|00000050| 25 20 57 72 69 74 74 65 | 6e 20 62 79 20 0d 0a 25 |% Writte|n by ..%|
|00000060| 20 20 20 43 68 61 72 6c | 65 73 20 4b 61 72 6e 65 | Charl|es Karne|
|00000070| 79 0d 0a 25 20 20 20 50 | 6c 61 73 6d 61 20 50 68 |y..% P|lasma Ph|
|00000080| 79 73 69 63 73 20 4c 61 | 62 6f 72 61 74 6f 72 79 |ysics La|boratory|
|00000090| 20 20 20 50 68 6f 6e 65 | 3a 20 20 20 2b 31 20 36 | Phone|: +1 6|
|000000a0| 30 39 20 32 34 33 20 32 | 36 30 37 0d 0a 25 20 20 |09 243 2|607..% |
|000000b0| 20 50 72 69 6e 63 65 74 | 6f 6e 20 55 6e 69 76 65 | Princet|on Unive|
|000000c0| 72 73 69 74 79 20 20 20 | 20 20 20 20 20 4d 46 45 |rsity | MFE|
|000000d0| 6e 65 74 3a 20 20 4b 61 | 72 6e 65 79 40 50 50 43 |net: Ka|rney@PPC|
|000000e0| 2e 4d 46 45 6e 65 74 0d | 0a 25 20 20 20 50 4f 20 |.MFEnet.|.% PO |
|000000f0| 42 6f 78 20 34 35 31 20 | 20 20 20 20 20 20 20 20 |Box 451 | |
|00000100| 20 20 20 20 20 20 20 20 | 20 41 52 50 41 6e 65 74 | | ARPAnet|
|00000110| 3a 20 4b 61 72 6e 65 79 | 25 50 50 43 2e 4d 46 45 |: Karney|%PPC.MFE|
|00000120| 6e 65 74 40 4e 4d 46 45 | 43 43 2e 41 52 50 41 0d |net@NMFE|CC.ARPA.|
|00000130| 0a 25 20 20 20 50 72 69 | 6e 63 65 74 6f 6e 2c 20 |.% Pri|nceton, |
|00000140| 4e 4a 20 30 38 35 34 33 | 2d 30 34 35 31 20 20 20 |NJ 08543|-0451 |
|00000150| 20 42 69 74 6e 65 74 3a | 20 20 4b 61 72 6e 65 79 | Bitnet:| Karney|
|00000160| 25 50 50 43 2e 4d 46 45 | 6e 65 74 40 41 4e 4c 56 |%PPC.MFE|net@ANLV|
|00000170| 4d 53 2e 42 69 74 6e 65 | 74 0d 0a 0d 0a 25 20 55 |MS.Bitne|t....% U|
|00000180| 73 65 72 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 73 |ser inst|ructions|
|00000190| 3a 0d 0a 0d 0a 25 20 49 | 66 20 79 6f 75 20 75 73 |:....% I|f you us|
|000001a0| 65 20 54 65 58 74 75 72 | 65 73 20 28 54 65 58 20 |e TeXtur|es (TeX |
|000001b0| 6f 6e 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |on the M|acintosh|
|000001c0| 29 2c 20 79 6f 75 20 63 | 61 6e 20 72 6f 74 61 74 |), you c|an rotat|
|000001d0| 65 20 70 6f 72 74 69 6f | 6e 73 20 6f 66 20 54 65 |e portio|ns of Te|
|000001e0| 58 0d 0a 25 20 6f 75 74 | 70 75 74 20 62 79 20 61 |X..% out|put by a|
|000001f0| 72 62 69 74 72 61 72 79 | 20 61 6e 67 6c 65 73 2e |rbitrary| angles.|
|00000200| 20 20 49 6e 20 6f 72 64 | 65 72 20 74 6f 20 61 63 | In ord|er to ac|
|00000210| 63 6f 6d 70 6c 69 73 68 | 20 74 68 69 73 20 79 6f |complish| this yo|
|00000220| 75 20 6e 65 65 64 20 74 | 6f 3a 0d 0a 0d 0a 25 20 |u need t|o:....% |
|00000230| 28 31 29 20 54 72 61 6e | 73 66 65 72 20 74 68 65 |(1) Tran|sfer the|
|00000240| 20 66 69 6c 65 20 54 45 | 58 24 49 4e 50 55 54 53 | file TE|X$INPUTS|
|00000250| 3a 52 4f 54 41 54 45 2e | 53 54 59 20 74 6f 20 79 |:ROTATE.|STY to y|
|00000260| 6f 75 72 20 4d 61 63 69 | 6e 74 6f 73 68 20 61 6e |our Maci|ntosh an|
|00000270| 64 20 69 74 20 69 6e 20 | 74 68 65 0d 0a 25 20 20 |d it in |the..% |
|00000280| 20 20 20 22 54 65 58 20 | 69 6e 70 75 74 73 22 20 | "TeX |inputs" |
|00000290| 66 6f 6c 64 65 72 2e 0d | 0a 25 20 28 32 29 20 53 |folder..|.% (2) S|
|000002a0| 70 65 63 69 66 79 20 72 | 6f 74 61 74 65 20 61 73 |pecify r|otate as|
|000002b0| 20 61 6e 20 6f 70 74 69 | 6f 6e 61 6c 20 61 72 67 | an opti|onal arg|
|000002c0| 75 6d 65 6e 74 20 74 6f | 20 5c 64 6f 63 75 6d 65 |ument to| \docume|
|000002d0| 6e 74 73 74 79 6c 65 2c | 20 65 2e 67 2e 2c 0d 0a |ntstyle,| e.g.,..|
|000002e0| 25 20 20 20 20 20 5c 64 | 6f 63 75 6d 65 6e 74 73 |% \d|ocuments|
|000002f0| 74 79 6c 65 5b 31 31 70 | 74 2c 72 6f 74 61 74 65 |tyle[11p|t,rotate|
|00000300| 5d 7b 61 72 74 69 63 6c | 65 7d 0d 0a 25 20 28 33 |]{articl|e}..% (3|
|00000310| 29 20 55 73 65 20 74 68 | 65 20 63 6f 6e 73 74 72 |) Use th|e constr|
|00000320| 75 63 74 69 6f 6e 0d 0a | 25 20 20 20 20 20 7b 5c |uction..|% {\|
|00000330| 72 6f 74 61 74 65 7b 61 | 6e 67 6c 65 7d 54 65 78 |rotate{a|ngle}Tex|
|00000340| 74 2d 74 6f 2d 62 65 2d | 72 6f 74 61 74 65 64 7d |t-to-be-|rotated}|
|00000350| 0d 0a 0d 0a 25 20 4e 6f | 74 65 73 3a 0d 0a 0d 0a |....% No|tes:....|
|00000360| 25 20 28 31 29 20 54 68 | 65 20 72 6f 74 61 74 69 |% (1) Th|e rotati|
|00000370| 6f 6e 20 69 73 20 6d 61 | 64 65 20 6f 6e 6c 79 20 |on is ma|de only |
|00000380| 77 69 74 68 20 54 65 58 | 74 75 72 65 73 20 6f 75 |with TeX|tures ou|
|00000390| 74 70 75 74 74 69 6e 67 | 20 74 6f 20 61 20 50 6f |tputting| to a Po|
|000003a0| 73 74 53 63 72 69 70 74 | 0d 0a 25 20 70 72 69 6e |stScript|..% prin|
|000003b0| 74 65 72 20 28 65 2e 67 | 2e 2c 20 61 20 4c 61 73 |ter (e.g|., a Las|
|000003c0| 65 72 57 72 69 74 65 72 | 29 2e 20 20 54 68 65 20 |erWriter|). The |
|000003d0| 73 63 72 65 65 6e 20 70 | 72 65 76 69 65 77 20 61 |screen p|review a|
|000003e0| 6e 64 20 74 68 65 20 49 | 6d 61 67 65 57 72 69 74 |nd the I|mageWrit|
|000003f0| 65 72 0d 0a 25 20 6f 75 | 74 70 75 74 20 77 69 6c |er..% ou|tput wil|
|00000400| 6c 20 73 68 6f 77 20 74 | 68 65 20 74 65 78 74 20 |l show t|he text |
|00000410| 75 6e 72 6f 74 61 74 65 | 64 2e 0d 0a 0d 0a 25 20 |unrotate|d.....% |
|00000420| 28 32 29 20 54 68 65 20 | 72 6f 74 61 74 69 6f 6e |(2) The |rotation|
|00000430| 20 61 6e 67 6c 65 20 69 | 73 20 6d 65 61 73 75 72 | angle i|s measur|
|00000440| 65 64 20 69 6e 20 64 65 | 67 72 65 65 73 2e 20 20 |ed in de|grees. |
|00000450| 49 74 20 63 61 6e 20 62 | 65 20 70 6f 73 69 74 69 |It can b|e positi|
|00000460| 76 65 20 6f 72 0d 0a 25 | 20 6e 65 67 61 74 69 76 |ve or..%| negativ|
|00000470| 65 2c 20 72 65 61 6c 20 | 6f 72 20 69 6e 74 65 67 |e, real |or integ|
|00000480| 65 72 2e 20 20 54 68 65 | 20 62 65 73 74 20 72 65 |er. The| best re|
|00000490| 73 75 6c 74 73 20 61 72 | 65 20 6f 62 74 61 69 6e |sults ar|e obtain|
|000004a0| 65 64 20 77 68 65 6e 20 | 74 68 65 20 61 6e 67 6c |ed when |the angl|
|000004b0| 65 20 69 73 0d 0a 25 20 | 61 20 6d 75 6c 74 69 70 |e is..% |a multip|
|000004c0| 6c 65 20 6f 66 20 39 30 | 20 64 65 67 72 65 65 73 |le of 90| degrees|
|000004d0| 2e 0d 0a 0d 0a 25 20 28 | 33 29 20 54 68 65 20 70 |.....% (|3) The p|
|000004e0| 6f 69 6e 74 20 61 62 6f | 75 74 20 77 68 69 63 68 |oint abo|ut which|
|000004f0| 20 74 68 65 20 74 65 78 | 74 20 69 73 20 72 6f 74 | the tex|t is rot|
|00000500| 61 74 65 64 20 69 73 20 | 74 68 65 20 6c 6f 63 61 |ated is |the loca|
|00000510| 74 69 6f 6e 20 6f 66 20 | 74 68 65 0d 0a 25 20 5c |tion of |the..% \|
|00000520| 72 6f 74 61 74 65 20 63 | 6f 6d 6d 61 6e 64 2e 20 |rotate c|ommand. |
|00000530| 20 49 6e 20 74 68 65 20 | 65 78 61 6d 70 6c 65 20 | In the |example |
|00000540| 61 62 6f 76 65 20 69 74 | 20 77 6f 75 6c 64 20 62 |above it| would b|
|00000550| 65 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6c 65 66 |e the bo|ttom lef|
|00000560| 74 20 63 6f 72 6e 65 72 | 0d 0a 25 20 6f 66 20 74 |t corner|..% of t|
|00000570| 68 65 20 69 6e 69 74 69 | 61 6c 20 22 54 22 2e 0d |he initi|al "T"..|
|00000580| 0a 0d 0a 25 20 28 34 29 | 20 4e 6f 72 6d 61 6c 20 |...% (4)| Normal |
|00000590| 54 65 58 20 67 72 6f 75 | 70 69 6e 67 20 73 65 72 |TeX grou|ping ser|
|000005a0| 76 65 73 20 74 6f 20 64 | 65 6c 69 6d 69 74 20 74 |ves to d|elimit t|
|000005b0| 68 65 20 73 63 6f 70 65 | 20 6f 66 20 74 68 65 20 |he scope| of the |
|000005c0| 72 6f 74 61 74 69 6f 6e | 2e 0d 0a 25 20 5c 72 6f |rotation|...% \ro|
|000005d0| 74 61 74 65 20 73 68 6f | 75 6c 64 20 61 6c 77 61 |tate sho|uld alwa|
|000005e0| 79 73 20 61 70 70 65 61 | 72 20 69 6e 20 61 20 67 |ys appea|r in a g|
|000005f0| 72 6f 75 70 2e 20 20 49 | 66 20 79 6f 75 20 77 61 |roup. I|f you wa|
|00000600| 6e 74 20 74 6f 20 67 65 | 74 20 61 6c 6c 20 74 68 |nt to ge|t all th|
|00000610| 65 20 54 65 58 0d 0a 25 | 20 6f 75 74 70 75 74 20 |e TeX..%| output |
|00000620| 72 6f 74 61 74 65 64 20 | 62 79 20 39 30 20 64 65 |rotated |by 90 de|
|00000630| 67 72 65 65 73 2c 20 73 | 65 6c 65 63 74 20 4c 61 |grees, s|elect La|
|00000640| 6e 64 73 63 61 70 65 20 | 6d 6f 64 65 20 69 6e 20 |ndscape |mode in |
|00000650| 74 68 65 20 50 72 69 6e | 74 20 53 65 74 75 70 0d |the Prin|t Setup.|
|00000660| 0a 25 20 44 69 61 6c 6f | 67 2e 0d 0a 0d 0a 25 20 |.% Dialo|g.....% |
|00000670| 28 35 29 20 5c 72 6f 74 | 61 74 65 20 69 73 20 65 |(5) \rot|ate is e|
|00000680| 66 66 65 63 74 69 76 65 | 6c 79 20 61 20 6e 6f 2d |ffective|ly a no-|
|00000690| 6f 70 20 77 69 74 68 20 | 64 72 69 76 65 72 73 20 |op with |drivers |
|000006a0| 6f 74 68 65 72 20 74 68 | 61 6e 20 54 65 58 74 75 |other th|an TeXtu|
|000006b0| 72 65 73 2e 20 20 54 68 | 75 73 0d 0a 25 20 79 6f |res. Th|us..% yo|
|000006c0| 75 20 63 61 6e 20 69 6e | 63 6c 75 64 65 20 5c 72 |u can in|clude \r|
|000006d0| 6f 74 61 74 65 27 73 20 | 69 6e 20 61 20 66 69 6c |otate's |in a fil|
|000006e0| 65 20 77 68 69 63 68 20 | 79 6f 75 20 70 72 69 6e |e which |you prin|
|000006f0| 74 20 6f 6e 20 74 68 65 | 20 51 4d 53 20 70 72 69 |t on the| QMS pri|
|00000700| 6e 74 65 72 73 2e 0d 0a | 25 20 49 6e 20 6f 72 64 |nters...|% In ord|
|00000710| 65 72 20 74 6f 20 67 65 | 74 20 74 68 65 20 72 6f |er to ge|t the ro|
|00000720| 74 61 74 69 6f 6e 2c 20 | 68 6f 77 65 76 65 72 2c |tation, |however,|
|00000730| 20 79 6f 75 20 6d 75 73 | 74 20 74 72 61 6e 73 66 | you mus|t transf|
|00000740| 65 72 20 65 69 74 68 65 | 72 20 74 68 65 20 54 65 |er eithe|r the Te|
|00000750| 58 0d 0a 25 20 73 6f 75 | 72 63 65 20 6f 72 20 74 |X..% sou|rce or t|
|00000760| 68 65 20 44 56 49 20 66 | 69 6c 65 20 74 6f 20 74 |he DVI f|ile to t|
|00000770| 68 65 20 4d 61 63 20 66 | 6f 72 20 70 72 69 6e 74 |he Mac f|or print|
|00000780| 69 6e 67 20 77 69 74 68 | 20 54 65 58 74 75 72 65 |ing with| TeXture|
|00000790| 73 2e 0d 0a 0d 0a 25 20 | 28 36 29 20 54 68 65 20 |s.....% |(6) The |
|000007a0| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |position| of the |
|000007b0| 74 65 78 74 20 6f 75 74 | 73 69 64 65 20 74 68 65 |text out|side the|
|000007c0| 20 73 63 6f 70 65 20 6f | 66 20 74 68 65 20 72 6f | scope o|f the ro|
|000007d0| 74 61 74 69 6f 6e 20 69 | 73 20 74 68 65 20 73 61 |tation i|s the sa|
|000007e0| 6d 65 0d 0a 25 20 61 73 | 20 69 66 20 74 68 65 20 |me..% as| if the |
|000007f0| 5c 72 6f 74 61 74 65 20 | 63 6f 6d 6d 61 6e 64 20 |\rotate |command |
|00000800| 77 65 72 65 20 61 20 6e | 6f 2d 6f 70 2e 20 20 54 |were a n|o-op. T|
|00000810| 68 75 73 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 0d |hus for |example.|
|00000820| 0a 25 20 20 20 20 20 61 | 62 63 7b 5c 72 6f 74 61 |.% a|bc{\rota|
|00000830| 74 65 7b 2d 39 30 7d 64 | 65 66 7d 67 68 69 0d 0a |te{-90}d|ef}ghi..|
|00000840| 25 20 70 72 69 6e 74 73 | 20 61 73 0d 0a 25 20 20 |% prints| as..% |
|00000850| 20 20 20 61 62 63 20 20 | 20 67 68 69 0d 0a 25 20 | abc | ghi..% |
|00000860| 20 20 20 20 20 20 20 64 | 0d 0a 25 20 20 20 20 20 | d|..% |
|00000870| 20 20 20 65 0d 0a 25 20 | 20 20 20 20 20 20 20 66 | e..% | f|
|00000880| 0d 0a 0d 0a 25 20 28 37 | 29 20 52 6f 74 61 74 69 |....% (7|) Rotati|
|00000890| 6f 6e 73 20 63 61 6e 20 | 62 65 20 73 74 61 63 6b |ons can |be stack|
|000008a0| 65 64 2c 20 65 2e 67 2e | 2c 0d 0a 25 20 20 20 20 |ed, e.g.|,..% |
|000008b0| 20 61 62 63 7b 5c 72 6f | 74 61 74 65 7b 2d 39 30 | abc{\ro|tate{-90|
|000008c0| 7d 64 65 66 5c 72 6f 74 | 61 74 65 7b 2d 39 30 7d |}def\rot|ate{-90}|
|000008d0| 67 68 69 7d 6a 6b 6c 0d | 0a 25 20 77 6f 75 6c 64 |ghi}jkl.|.% would|
|000008e0| 20 70 72 69 6e 74 20 61 | 73 0d 0a 25 20 20 20 20 | print a|s..% |
|000008f0| 20 61 62 63 20 20 20 20 | 20 20 6a 6c 6b 0d 0a 25 | abc | jlk..%|
|00000900| 20 20 20 20 20 20 20 20 | 64 0d 0a 25 20 20 20 20 | |d..% |
|00000910| 20 20 20 20 65 0d 0a 25 | 20 20 20 20 20 20 20 20 | e..%| |
|00000920| 66 0d 0a 25 20 20 20 20 | 20 69 68 67 0d 0a 25 20 |f..% | ihg..% |
|00000930| 65 78 63 65 70 74 20 74 | 68 61 74 20 74 68 65 20 |except t|hat the |
|00000940| 6c 65 74 74 65 72 73 20 | 60 60 64 65 66 27 27 20 |letters |``def'' |
|00000950| 77 6f 75 6c 64 20 62 65 | 20 73 69 64 65 77 61 79 |would be| sideway|
|00000960| 73 2c 20 61 6e 64 20 60 | 60 67 68 69 27 27 20 77 |s, and `|`ghi'' w|
|00000970| 6f 75 6c 64 20 62 65 0d | 0a 25 20 75 70 73 69 64 |ould be.|.% upsid|
|00000980| 65 20 64 6f 77 6e 2e 20 | 20 54 68 69 73 20 69 73 |e down. | This is|
|00000990| 20 74 6f 20 62 65 20 63 | 6f 6d 70 61 72 65 64 20 | to be c|ompared |
|000009a0| 77 69 74 68 0d 0a 25 20 | 20 20 20 20 61 62 63 7b |with..% | abc{|
|000009b0| 5c 72 6f 74 61 74 65 7b | 2d 39 30 7d 64 65 66 7d |\rotate{|-90}def}|
|000009c0| 7b 5c 72 6f 74 61 74 65 | 7b 2d 39 30 7d 67 68 69 |{\rotate|{-90}ghi|
|000009d0| 7d 6a 6b 6c 0d 0a 25 20 | 77 68 69 63 68 20 70 72 |}jkl..% |which pr|
|000009e0| 69 6e 74 73 20 61 73 0d | 0a 25 20 20 20 20 20 61 |ints as.|.% a|
|000009f0| 62 63 20 20 20 20 20 20 | 6a 6c 6b 0d 0a 25 20 20 |bc |jlk..% |
|00000a00| 20 20 20 20 20 20 64 20 | 20 67 0d 0a 25 20 20 20 | d | g..% |
|00000a10| 20 20 20 20 20 65 20 20 | 68 0d 0a 25 20 20 20 20 | e |h..% |
|00000a20| 20 20 20 20 66 20 20 69 | 0d 0a 0d 0a 25 20 28 38 | f i|....% (8|
|00000a30| 29 20 5c 72 6f 74 61 74 | 65 20 63 61 6e 20 62 65 |) \rotat|e can be|
|00000a40| 20 75 73 65 66 75 6c 20 | 69 6e 20 70 69 63 74 75 | useful |in pictu|
|00000a50| 72 65 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 73 2c |re envir|onments,|
|00000a60| 20 65 2e 67 2e 2c 20 77 | 68 65 6e 20 77 72 69 74 | e.g., w|hen writ|
|00000a70| 69 6e 67 20 74 68 65 20 | 79 0d 0a 25 20 61 78 69 |ing the |y..% axi|
|00000a80| 73 20 6c 61 62 65 6c 2e | 20 20 45 2e 67 2e 2c 0d |s label.| E.g.,.|
|00000a90| 0a 25 20 20 20 20 20 5c | 70 75 74 28 2d 35 30 2c |.% \|put(-50,|
|00000aa0| 31 30 30 29 7b 5c 72 6f | 74 61 74 65 7b 39 30 7d |100){\ro|tate{90}|
|00000ab0| 5c 6d 61 6b 65 62 6f 78 | 28 30 2c 30 29 7b 24 5c |\makebox|(0,0){$\|
|00000ac0| 74 61 6e 5c 74 68 65 74 | 61 24 7d 7d 0d 0a 25 20 |tan\thet|a$}}..% |
|00000ad0| 48 65 72 65 20 74 68 65 | 20 5c 6d 61 6b 65 62 6f |Here the| \makebo|
|00000ae0| 78 20 63 65 6e 74 65 72 | 73 20 74 68 65 20 61 72 |x center|s the ar|
|00000af0| 67 75 6d 65 6e 74 20 61 | 74 20 74 68 65 20 6c 6f |gument a|t the lo|
|00000b00| 63 61 74 69 6f 6e 20 6f | 66 20 74 68 65 20 5c 70 |cation o|f the \p|
|00000b10| 75 74 2e 20 20 54 68 75 | 73 0d 0a 25 20 74 68 65 |ut. Thu|s..% the|
|00000b20| 20 74 65 78 74 20 69 73 | 20 72 6f 74 61 74 65 64 | text is| rotated|
|00000b30| 20 61 62 6f 75 74 20 74 | 68 65 20 62 6f 74 74 6f | about t|he botto|
|00000b40| 6d 2d 63 65 6e 74 65 72 | 20 6f 66 20 24 5c 74 61 |m-center| of $\ta|
|00000b50| 6e 5c 74 68 65 74 61 24 | 2e 0d 0a 0d 0a 25 20 54 |n\theta$|.....% T|
|00000b60| 65 63 68 6e 69 63 61 6c | 20 64 65 74 61 69 6c 73 |echnical| details|
|00000b70| 3a 0d 0a 0d 0a 25 20 54 | 68 65 20 66 6f 6c 6c 6f |:....% T|he follo|
|00000b80| 77 69 6e 67 20 61 73 73 | 75 6d 70 74 69 6f 6e 73 |wing ass|umptions|
|00000b90| 20 61 72 65 20 6d 61 64 | 65 20 61 62 6f 75 74 20 | are mad|e about |
|00000ba0| 74 68 65 20 50 6f 73 74 | 53 63 72 69 70 74 20 74 |the Post|Script t|
|00000bb0| 68 61 74 20 54 65 58 74 | 75 72 65 73 0d 0a 25 20 |hat TeXt|ures..% |
|00000bc0| 67 65 6e 65 72 61 74 65 | 73 3a 0d 0a 25 20 28 31 |generate|s:..% (1|
|00000bd0| 29 20 41 20 73 69 6e 67 | 6c 65 20 74 72 61 6e 73 |) A sing|le trans|
|00000be0| 66 6f 72 6d 20 69 73 20 | 75 73 65 64 20 66 6f 72 |form is |used for|
|00000bf0| 20 61 6c 6c 20 54 65 58 | 74 75 72 65 73 20 6f 75 | all TeX|tures ou|
|00000c00| 74 70 75 74 2e 0d 0a 25 | 20 28 32 29 20 54 68 65 |tput...%| (2) The|
|00000c10| 20 50 6f 73 74 53 63 72 | 69 70 74 20 5c 73 70 65 | PostScr|ipt \spe|
|00000c20| 63 69 61 6c 20 69 73 20 | 62 72 61 63 6b 65 74 65 |cial is |brackete|
|00000c30| 64 20 62 79 20 67 73 61 | 76 65 20 2e 2e 2e 20 67 |d by gsa|ve ... g|
|00000c40| 72 65 73 74 6f 72 65 2e | 20 0d 0a 25 20 28 33 29 |restore.| ..% (3)|
|00000c50| 20 49 6d 6d 65 64 69 61 | 74 65 6c 79 20 61 66 74 | Immedia|tely aft|
|00000c60| 65 72 20 74 68 65 20 67 | 73 61 76 65 2c 20 74 68 |er the g|save, th|
|00000c70| 65 20 63 6f 6f 72 64 69 | 6e 61 74 65 20 73 79 73 |e coordi|nate sys|
|00000c80| 74 65 6d 20 69 73 20 74 | 72 61 6e 73 6c 61 74 65 |tem is t|ranslate|
|00000c90| 64 20 73 6f 20 74 68 65 | 0d 0a 25 20 20 20 20 20 |d so the|..% |
|00000ca0| 6f 72 69 67 69 6e 20 69 | 73 20 61 74 20 74 68 65 |origin i|s at the|
|00000cb0| 20 63 75 72 72 65 6e 74 | 20 70 6f 69 6e 74 3b 20 | current| point; |
|00000cc0| 61 6e 64 20 74 68 65 20 | 79 20 61 78 69 73 20 69 |and the |y axis i|
|00000cd0| 73 20 66 6c 69 70 70 65 | 64 2e 0d 0a 25 20 28 34 |s flippe|d...% (4|
|00000ce0| 29 20 54 65 58 74 75 72 | 65 73 20 64 6f 65 73 6e |) TeXtur|es doesn|
|00000cf0| 27 74 20 6c 65 61 76 65 | 20 61 6e 79 74 68 69 6e |'t leave| anythin|
|00000d00| 67 20 6f 6e 20 74 68 65 | 20 73 74 61 63 6b 20 66 |g on the| stack f|
|00000d10| 6f 72 20 6c 6f 6e 67 20 | 70 65 72 69 6f 64 73 2e |or long |periods.|
|00000d20| 20 20 28 54 68 69 73 0d | 0a 25 20 20 20 20 20 73 | (This.|.% s|
|00000d30| 69 6d 70 6c 69 66 69 65 | 73 20 72 65 73 74 6f 72 |implifie|s restor|
|00000d40| 69 6e 67 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |ing the |default |
|00000d50| 63 6f 6f 72 64 69 6e 61 | 74 65 20 73 79 73 74 65 |coordina|te syste|
|00000d60| 6d 2e 29 0d 0a 0d 0a 5c | 64 65 66 5c 72 6f 74 61 |m.)....\|def\rota|
|00000d70| 74 65 23 31 7b 5c 61 66 | 74 65 72 67 72 6f 75 70 |te#1{\af|tergroup|
|00000d80| 5c 40 75 6e 72 6f 74 61 | 74 65 0d 0a 5c 73 70 65 |\@unrota|te..\spe|
|00000d90| 63 69 61 6c 0d 0a 7b 70 | 6f 73 74 73 63 72 69 70 |cial..{p|ostscrip|
|00000da0| 74 0d 0a 20 20 30 20 30 | 20 74 72 61 6e 73 66 6f |t.. 0 0| transfo|
|00000db0| 72 6d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |rm | |
|00000dc0| 20 20 20 25 20 43 75 72 | 72 65 6e 74 20 6c 6f 63 | % Cur|rent loc|
|00000dd0| 61 74 69 6f 6e 20 69 6e | 20 64 65 76 69 63 65 20 |ation in| device |
|00000de0| 63 6f 6f 72 64 69 6e 61 | 74 65 73 2e 0d 0a 20 20 |coordina|tes... |
|00000df0| 67 72 65 73 74 6f 72 65 | 20 20 20 20 20 20 20 20 |grestore| |
|00000e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 25 20 | | % |
|00000e10| 55 6e 64 6f 65 73 20 54 | 65 58 74 75 72 65 73 20 |Undoes T|eXtures |
|00000e20| 67 73 61 76 65 2e 0d 0a | 20 20 6d 61 74 72 69 78 |gsave...| matrix|
|00000e30| 20 63 75 72 72 65 6e 74 | 6d 61 74 72 69 78 20 20 | current|matrix |
|00000e40| 20 20 20 20 20 20 20 20 | 25 20 53 61 76 65 20 64 | |% Save d|
|00000e50| 65 66 61 75 6c 74 20 74 | 72 61 6e 73 66 6f 72 6d |efault t|ransform|
|00000e60| 20 6f 6e 20 73 74 61 63 | 6b 0d 0a 20 20 33 20 31 | on stac|k.. 3 1|
|00000e70| 20 72 6f 6c 6c 20 20 20 | 20 20 20 20 20 20 20 20 | roll | |
|00000e80| 20 20 20 20 20 20 20 20 | 20 20 20 25 20 50 75 74 | | % Put|
|00000e90| 20 74 72 61 6e 73 66 6f | 72 6d 20 61 74 20 62 61 | transfo|rm at ba|
|00000ea0| 63 6b 20 6f 66 20 63 75 | 72 72 65 6e 74 20 6c 6f |ck of cu|rrent lo|
|00000eb0| 63 61 74 69 6f 6e 2e 0d | 0a 20 20 69 74 72 61 6e |cation..|. itran|
|00000ec0| 73 66 6f 72 6d 20 20 20 | 20 20 20 20 20 20 20 20 |sform | |
|00000ed0| 20 20 20 20 20 20 20 20 | 20 25 20 43 75 72 72 65 | | % Curre|
|00000ee0| 6e 74 20 6c 6f 63 61 74 | 69 6f 6e 20 69 6e 20 54 |nt locat|ion in T|
|00000ef0| 65 58 74 75 72 65 73 20 | 63 6f 6f 72 64 73 0d 0a |eXtures |coords..|
|00000f00| 20 20 64 75 70 20 33 20 | 2d 31 20 72 6f 6c 6c 20 | dup 3 |-1 roll |
|00000f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f20| 25 20 44 75 70 6c 69 63 | 61 74 65 20 74 68 65 20 |% Duplic|ate the |
|00000f30| 6c 6f 63 61 74 69 6f 6e | 0d 0a 20 20 64 75 70 20 |location|.. dup |
|00000f40| 34 20 31 20 72 6f 6c 6c | 20 65 78 63 68 20 20 20 |4 1 roll| exch |
|00000f50| 20 20 20 20 20 20 20 20 | 20 20 25 20 20 20 20 78 | | % x|
|00000f60| 20 79 20 3d 3d 3e 20 78 | 20 79 20 78 20 79 0d 0a | y ==> x| y x y..|
|00000f70| 20 20 74 72 61 6e 73 6c | 61 74 65 20 20 20 20 20 | transl|ate |
|00000f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f90| 25 20 54 72 61 6e 73 6c | 61 74 65 20 6f 72 69 67 |% Transl|ate orig|
|00000fa0| 69 6e 20 74 6f 20 63 75 | 72 72 65 6e 74 20 6c 6f |in to cu|rrent lo|
|00000fb0| 63 61 74 69 6f 6e 2e 0d | 0a 20 20 23 31 5c 73 70 |cation..|. #1\sp|
|00000fc0| 61 63 65 20 6e 65 67 20 | 20 20 20 20 20 20 20 20 |ace neg | |
|00000fd0| 20 20 20 20 20 20 20 20 | 20 25 20 4e 65 67 61 74 | | % Negat|
|00000fe0| 65 20 61 6e 67 6c 65 20 | 62 65 63 61 75 73 65 20 |e angle |because |
|00000ff0| 6f 66 20 66 6c 69 70 20 | 6f 66 20 79 20 61 78 69 |of flip |of y axi|
|00001000| 73 2e 0d 0a 20 20 72 6f | 74 61 74 65 20 20 20 20 |s... ro|tate |
|00001010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001020| 20 20 20 20 25 20 52 6f | 74 61 74 65 2e 0d 0a 20 | % Ro|tate... |
|00001030| 20 6e 65 67 20 65 78 63 | 68 20 6e 65 67 20 65 78 | neg exc|h neg ex|
|00001040| 63 68 20 74 72 61 6e 73 | 6c 61 74 65 20 20 20 25 |ch trans|late %|
|00001050| 20 54 72 61 6e 73 6c 61 | 74 65 20 6f 72 69 67 69 | Transla|te origi|
|00001060| 6e 20 62 61 63 6b 2e 0d | 0a 20 20 67 73 61 76 65 |n back..|. gsave|
|00001070| 7d 7d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}} | |
|00001080| 20 20 20 20 20 20 20 20 | 20 25 20 54 6f 20 6d 61 | | % To ma|
|00001090| 74 63 68 20 67 72 65 73 | 74 6f 72 65 2e 0d 0a 0d |tch gres|tore....|
|000010a0| 0a 5c 64 65 66 5c 40 75 | 6e 72 6f 74 61 74 65 7b |.\def\@u|nrotate{|
|000010b0| 5c 73 70 65 63 69 61 6c | 0d 0a 7b 70 6f 73 74 73 |\special|..{posts|
|000010c0| 63 72 69 70 74 0d 0a 20 | 20 67 72 65 73 74 6f 72 |cript.. | grestor|
|000010d0| 65 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e | |
|000010e0| 20 20 20 20 20 20 20 25 | 20 55 6e 64 6f 65 73 20 | %| Undoes |
|000010f0| 54 65 58 74 75 72 65 73 | 20 67 73 61 76 65 0d 0a |TeXtures| gsave..|
|00001100| 20 20 73 65 74 6d 61 74 | 72 69 78 20 20 20 20 20 | setmat|rix |
|00001110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001120| 25 20 52 65 73 74 6f 72 | 65 20 73 61 76 65 64 20 |% Restor|e saved |
|00001130| 74 72 61 6e 73 66 6f 72 | 6d 0d 0a 20 20 67 73 61 |transfor|m.. gsa|
|00001140| 76 65 7d 7d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ve}} | |
|00001150| 20 20 20 20 20 20 20 20 | 20 20 20 25 20 54 6f 20 | | % To |
|00001160| 6d 61 74 63 68 20 67 72 | 65 73 74 6f 72 65 0d 0a |match gr|estore..|
|00001170| 0d 0a 5c 65 6e 64 69 6e | 70 75 74 0d 0a |..\endin|put.. |
+--------+-------------------------+-------------------------+--------+--------+